package com.cn.kehong.domain;

import com.cn.kehong.utils.CommonUtil;

import java.util.Date;
import java.util.List;

public class PowRate {
    private String id;

    private String powTime;

    private String factoryName;

    private String actualPow;

    private String planPow;

    private String useRate;

    private String createUserName;

    private String createUserId;

    private String remark;

    private String status;

    private Date createTime;

    private Date updateTime;

    private int count;

    private String gradeStove;

    private List<PowRateDetail> powRateDetails;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getPowTime() {
        return powTime;
    }

    public void setPowTime(String powTime) {
        this.powTime = powTime == null ? null : powTime.trim();
    }

    public String getFactoryName() {
        return factoryName;
    }

    public void setFactoryName(String factoryName) {
        this.factoryName = factoryName == null ? null : factoryName.trim();
    }

    public String getActualPow() {
        return actualPow;
    }

    public void setActualPow(String actualPow) {
        this.actualPow = actualPow == null ? null : actualPow.trim();
    }

    public String getPlanPow() {
        return planPow;
    }

    public void setPlanPow(String planPow) {
        this.planPow = planPow == null ? null : planPow.trim();
    }

    public String getUseRate() {
        return useRate;
    }

    public void setUseRate(String useRate) {
        this.useRate = useRate == null ? null : useRate.trim();
    }

    public String getCreateUserName() {
        return createUserName;
    }

    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName == null ? null : createUserName.trim();
    }

    public String getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(String createUserId) {
        this.createUserId = createUserId == null ? null : createUserId.trim();
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public List<PowRateDetail> getPowRateDetails() {
        return powRateDetails;
    }

    public void setPowRateDetails(List<PowRateDetail> powRateDetails) {
        this.powRateDetails = powRateDetails;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public String getGradeStove() {
        return gradeStove;
    }

    public void setGradeStove(String gradeStove) {
        this.gradeStove = gradeStove;
    }

    public String getCreateTimeFt(){
        String formatTime = CommonUtil.getStrTime(getCreateTime(),"yyyy-MM-dd HH:mm:ss");
        return formatTime;
    }
}